const getters = {
  deployUploadApi: state => state.api.deployUploadApi,
  databaseUploadApi: state => state.api.databaseUploadApi,
  size: state => state.app.size,
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  roles: state => state.user.roles,
  user: state => state.user.user,
  loadMenus: state => state.user.loadMenus,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  socketApi: state => state.api.socketApi,
  imagesUploadApi: state => state.api.imagesUploadApi,
  baseApi: state => state.api.baseApi,
  fileUploadApi: state => state.api.fileUploadApi,
  updateAvatarApi: state => state.api.updateAvatarApi,
  qiNiuUploadApi: state => state.api.qiNiuUploadApi,
  sqlApi: state => state.api.sqlApi,
  swaggerApi: state => state.api.swaggerApi,
  // 全部推荐位
  oneMenuList: state => state.recommend.oneMenuList, // 一级菜单数据
  activeOneMenu: state => state.recommend.activeOneMenu, // 当前选中一级菜单
  recommendTabActive: state => state.recommend.recommendTabActive, // TAB选中
  twoMenuLoading: state => state.recommend.twoMenuLoading, // 二级菜单模块loading
  twoMenuData: state => state.recommend.twoMenuData, // 二级菜单数据
  twoMenuList: state => state.recommend.twoMenuList, // 二级菜单上架+下架list数据
  // 全部公共信息
  allBrand: state => state.common.allBrand, // 全部品牌
  allCategory: state => state.common.allCategory, // 全部类目
  allMerchant: state => state.common.allMerchant // 全部供应商
}
export default getters
